package com.hyb.service;

import com.hyb.Vo.DictionaryVo;
import com.hyb.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyb.entity.Product;
import com.hyb.page.PageReq;

import java.util.List;

/**
 * <p>
 *  数据字典Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface DictionaryService extends IService<Dictionary> {
    List<Dictionary> getStaffStates();

    PageReq loadAllDictionary(Integer limit, Integer current,Integer parentId,String dictionaryValue,String dictionaryEntry);

    List<Dictionary> loadDictionaryType();

    void saveDictionary(Dictionary dictionary);

    Dictionary getDictionaryByDictionaryId(Integer dictionaryId);

    void updateDictionary(Dictionary dictionary);

    void deleteDictionary(Integer dictionaryId);

    List<Dictionary> getProductType();

    List<Dictionary> getSaleType();

    List<Dictionary> getCustomerGrade();

    List<Dictionary> getCustomerSatisfaction();

    List<Dictionary> getCustomerCredit();

    List<Dictionary> getOrderTypes();

    List<Dictionary> getCustomerStates();
}
